-- GENERATED SPELL FOR [Gnarlpine Warrior] --


function spell0_2008(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2008', 602, 1)
end

function Sorts_2008(pUnit, Event)
local choix_sorts_2008 = math.random(0, 0)
if choix_sorts_2008 == 0 then
pUnit:RegisterEvent('spell0_2008', 1, 1)
end
end

function mob2008_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2008', math.random(1500, 3000), 1)
end

function mob2008_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2008_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2008_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2008, 1, 'mob2008_Action')
RegisterUnitEvent(2008, 2, 'mob2008_Leave')
RegisterUnitEvent(2008, 3, 'mob2008_Kill')
RegisterUnitEvent(2008, 4, 'mob2008_Die')
